﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class ExpOptions : Form
    {
        Form p;
        public ExpOptions(Form previous)
        {
            InitializeComponent();           
            this.p = previous;
        }

        private void ExpOptions_Load(object sender, EventArgs e)
        {
            p.Hide();
            this.Show();
        }

        private void btncancel_Click(object sender, EventArgs e)
        {
            this.Hide();
            p.Show();
        }

        private void btnaltap_Click(object sender, EventArgs e)
        {
            AltaDePaciente a = new AltaDePaciente(this);
            a.ShowDialog(this);
        }

        private void btnbusqp_Click(object sender, EventArgs e)
        {
            BuscarPaciente a = new BuscarPaciente(this);
            a.ShowDialog(this);
        }

        

    }
}
